package net.xdclass.util;

import org.apache.shardingsphere.core.strategy.keygen.SnowflakeShardingKeyGenerator;

public class IdUitl {

    private static SnowflakeShardingKeyGenerator snowflakeShardingKeyGenerator = new SnowflakeShardingKeyGenerator();

    public static Comparable<?> generateKey(){
        return snowflakeShardingKeyGenerator.generateKey();
    }
}
